SftTree/OCX 7.0

SftTreeItem.HeightPix Property

Softel vdm, Inc.

Returns the item's height.

Syntax       

Get

VB.NET

HPix = object.HeightPix  As Integer

VB

HPix = object.HeightPix  As Long

C#.NET

int HPix = object.HeightPix;

VC++

long HPix = object->HeightPix;
long HPix = object->GetHeightPix();

C

HRESULT object->get_HeightPix(long* HPix);

Delphi

HPix := object.HeightPix   : Integer;

object

A SftTreeItem object.

HPix

Returns the item's height in pixels.

Comments

The HeightPix property returns the item's height.

The Item.Height and Item.HeightPix methods are synonyms, but may use different coordinate systems.

In a fixed height tree control (see Items.Style), all items have the same height.  Items.Height can be used to determine the height of items in a fixed height tree control.

See Also  SftTreeItem Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com